﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Gmis.Public;

namespace Gmis.Web.Manage.Village
{
    public partial class VillageAdd : System.Web.UI.Page
    {
        public string action = ""; //动作
        public string sId ="";// 传入的id  空代表新增 有值代表修改
        public Model.Village model = new Model.Village();

        protected void Page_Load(object sender, EventArgs e)
        {
            //传入ID 和操作
            sId = CommonFunction.getRequestValue("Id");
            action =CommonFunction.getRequestValue("action"); 
            if (sId != "")
            {
                BLL.Village bll = new BLL.Village();
                model = bll.GetModel(sId);
            }           
        }
       
    }
}